package com.indusfo.spc.pojo;


import com.indusfo.spc.common.pojo.BasePojo;

/**
 * @author: louk
 * @Description: 车间信息Pojo
 * @date: 2019/11/14 15:29
 *
 */
public class Workshop extends BasePojo {
    /**
     * 车间id
     */
    private Integer workshopId;
    /**
     * 车间编码
     */
    private String workshopCode;
    /**
     * 车间名称
     */
    private String workshopName;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /**
     * @author: louk
     * @Description: 以上是车间信息数据库定义字段,以下是衍生字段
     * @date: 2019/11/14 15:29
     *
     */
    /**
     * 数据状态名称
     */
    private String dataStateName;

    public String getDataStateName() {
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public String getWorkshopCode() {
        return workshopCode;
    }

    public void setWorkshopCode(String workshopCode) {
        this.workshopCode = workshopCode == null ? null : workshopCode.trim();
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName == null ? null : workshopName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Workshop() {
    }

    public Workshop(String workshopCode, String workshopName, String remark) {
        this.workshopCode = workshopCode;
        this.workshopName = workshopName;
        this.remark = remark;
    }
}